{# src/VEKA/PojetBundle/Resources/views/Projet/chassis.html.twig #}

{% extends "::LayoutProjet.html.twig" %}

{%  block title %} {{ parent() }} {% endblock %}

{% block body %}

	{% block javascript %}
		<script src="{{ asset('bundles/VEKA/js/main.js') }}"></script>
	{% endblock %}
	<div class="text-center">
		
		
		<h5><b>Type de châssis: </b></h5> 
		
		<form method="post" action={{ path('veka_projet_calcul') }}>
		<SELECT name="TypeChassis" id="TypeChassis" onclick="javascript:change_image();">
			{% for chassis in listeChassis %}
				<option value="{{ chassis.url }}">{{ chassis.libelleChassis }}</option>
			{% endfor %}
		</SELECT></br></br>
		
		<h4>Schéma du châssis:</h4>	
		</br>
		<!--<img src="{{ asset('bundles/VEKA/images/chassis2.png') }}"/></br>!-->
		<div id="image">
		</div>
		</br>
		
		<input type="submit" value="Valider" class=btn>
	</div>
{% endblock %}